package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NursingPlanMapper {

    List<NursingPlanVo> GetAllNursingPlan();


    Page<NursingPlan> getPage(String name, Integer status);

    NursingPlanVo getByid(Long id);

    void updateNursingPlan(NursingPlan nursingPlan);

    void insertPlan(NursingPlan nursingPlan);

    void deleteByidPlan(Long id);

    void updatestatus(Long id, Integer status);
}
